$(function() {
    window.daicuo.init();
    $.getScript("https://lib.baomitu.com/clipboard.js/2.0.1/clipboard.min.js", function(){
        var clipboard = new ClipboardJS('[data-toggle="copy"]');
        clipboard.on('success',function(e){
            daicuo.bootstrap.dialog('复制完成');
            setTimeout('$(".dc-modal").modal("hide");',1000);
        });
    });
});